package com.miracle.erp.model;

/**
 * @author MARACLE
 */
// 提交
// master 增加操作
// master 增加操作2
public class User {
		private int id;
		private String username;
		private String password;
		private String nickname;
		private int age;
		private String imgPath;
		/**
		 * 性别：0 表示女生，1表示男生
		 */
		
		
		private int sex;
		public String getImgPath() {
			return imgPath;
		}
		public void setImgPath(String imgPath) {
			this.imgPath = imgPath;
		}
		public User(String username, String password, String nickname, int age,
				String imgPath, int sex) {
			super();
			this.username = username;
			this.password = password;
			this.nickname = nickname;
			this.age = age;
			this.imgPath = imgPath;
			this.sex = sex;
		}
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
		public String getNickname() {
			return nickname;
		}
		public void setNickname(String nickname) {
			this.nickname = nickname;
		}
		public int getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age = age;
		}
		public int getSex() {
			return sex;
		}
		public void setSex(int sex) {
			this.sex = sex;
		}
		public User(int id, String username, String password, String nickname,
				int age, int sex) {
			super();
			this.id = id;
			this.username = username;
			this.password = password;
			this.nickname = nickname;
			this.age = age;
			this.sex = sex;
		}
		public User(String username, String password, String nickname, int age,
				int sex) {
			super();
			this.username = username;
			this.password = password;
			this.nickname = nickname;
			this.age = age;
			this.sex = sex;
		}
		public User() {
			super();
			// TODO Auto-generated constructor stub
		}
		@Override
		public String toString() {
			return "User [id=" + id + ", username=" + username + ", password="
					+ password + ", nickname=" + nickname + ", age=" + age
					+ ", sex=" + sex + "]";
		}
}
